Skip to content

feat: Additional options for saveArtwork#9

Merged
cyanChill merged 6 commits into
nextfrom
feat/artwork-save-options
Sep 3, 2025
Merged

feat: Additional options for saveArtwork#9
cyanChill merged 6 commits into
nextfrom
feat/artwork-save-options

Conversation

@cyanChill

Copy link
Copy Markdown
Member

This PR modifies and adds some options to saveArtwork which improves the "compression" feature.

  • New format option which allows us to specify the format of the saved file (defaults to jpeg).
  • Changed compress option to expect a number between 0.0 & 1.0 which represents the quality of the saved image (defaults to 1).

This change is inspired by the saveAsync function from expo-image-manipulator.

@cyanChill cyanChill added the enhancement New feature or request label Sep 3, 2025
@cyanChill
cyanChill changed the base branch from main to next September 3, 2025 00:34
@cyanChill
cyanChill merged commit aa86615 into next Sep 3, 2025
0 of 3 checks passed
@cyanChill
cyanChill deleted the feat/artwork-save-options branch September 3, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant